package com.wuyu.dao;

import com.wuyu.base.MyBaseMapper;
import com.wuyu.domain.User;
import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

import java.util.List;
public interface UserMyBaseMapper extends MyBaseMapper<User> {

    @ResultMap("BaseResultMap")
    @Select("select * from music_info")
    List<User> queryAll(User User);

    @ResultMap("selectMusicAll")
    List<User> selectMusicAll(User User);
    
    @ResultMap("selectMusicById")
    User selectMusicById(Long id);
    
    @ResultMap("selectUserByCondition")
    User selectUserByCondition(User User);
}
